package com.leadingsoft.pwxk.services.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.leadingsoft.pwxk.model.AuditBaseInfo;
import com.leadingsoft.pwxk.repository.AuditBaseInfoReposiory;
import com.leadingsoft.pwxk.services.AbstractService;

/**
 * 
 * @author ysh
 * @desc 审批信息-基本信息审核-服务类
 */
@Service
public class AuditBaseInfoServiceImpl extends AbstractService<AuditBaseInfo> {

	@Autowired
	AuditBaseInfoReposiory auditBaseInfoReposiory;

	@Override
	public void saveAll(List<AuditBaseInfo> models) {
		auditBaseInfoReposiory.saveAll(models);
	}

	@Override
	public void deleteAll() {
		auditBaseInfoReposiory.deleteAll();
	}

	@Override
	public void save(AuditBaseInfo model) {
		auditBaseInfoReposiory.save(model);
	}


}